#include "../include/Bank.h"
#include "../include/User.h"


/*Bank::Bank()
{


}*/

Bank::Bank():_bank(new std::vector<BankAccount*>())
{
	int numOfUsers = 10;
	_bank->reserve(numOfUsers);

}

void Bank::getYitra(int index){
	_bank->at(index)->getYitra();
}

void Bank::addAccount (BankAccount& acc){
	_bank->push_back(&acc);
}

Bank::~Bank()
{

	delete _bank;
}
